.class Les/zm$a;
.super Ljava/lang/Object;
.source "LongTouchChild.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/zm;->a(Landroid/os/Handler;II)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Z

.field final synthetic b:Z

.field final synthetic c:I

.field final synthetic d:I

.field final synthetic e:Landroid/os/Handler;

.field final synthetic f:Lcom/estrongs/android/pop/l;

.field final synthetic g:Lcom/estrongs/android/pop/view/FileExplorerActivity;

.field final synthetic h:Les/zm;


# direct methods
.method constructor <init>(Les/zm;ZZIILandroid/os/Handler;Lcom/estrongs/android/pop/l;Lcom/estrongs/android/pop/view/FileExplorerActivity;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/zm$a;->h:Les/zm;

    iput-boolean p2, p0, Les/zm$a;->a:Z

    iput-boolean p3, p0, Les/zm$a;->b:Z

    iput p4, p0, Les/zm$a;->c:I

    iput p5, p0, Les/zm$a;->d:I

    iput-object p6, p0, Les/zm$a;->e:Landroid/os/Handler;

    iput-object p7, p0, Les/zm$a;->f:Lcom/estrongs/android/pop/l;

    iput-object p8, p0, Les/zm$a;->g:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 4

    .line 1
    iget-boolean v0, p0, Les/zm$a;->a:Z

    if-nez v0, :cond_0

    add-int/lit8 p2, p2, 0x1

    .line 2
    :cond_0
    iget-object v0, p0, Les/zm$a;->h:Les/zm;

    invoke-virtual {v0}, Les/pm;->d()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_1

    add-int/lit8 p2, p2, 0x1

    :cond_1
    const/4 v0, 0x2

    if-ne p2, v0, :cond_2

    .line 3
    iget-boolean v1, p0, Les/zm$a;->b:Z

    if-nez v1, :cond_2

    add-int/lit8 p2, p2, 0x1

    :cond_2
    if-nez p2, :cond_3

    .line 4
    new-instance p2, Landroid/os/Message;

    invoke-direct {p2}, Landroid/os/Message;-><init>()V

    const/16 v0, 0x66

    .line 5
    iput v0, p2, Landroid/os/Message;->what:I

    .line 6
    iget v0, p0, Les/zm$a;->c:I

    iput v0, p2, Landroid/os/Message;->arg1:I

    .line 7
    iget v0, p0, Les/zm$a;->d:I

    iput v0, p2, Landroid/os/Message;->arg2:I

    .line 8
    iget-object v0, p0, Les/zm$a;->e:Landroid/os/Handler;

    invoke-virtual {v0, p2}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto :goto_0

    :cond_3
    const/4 v1, 0x1

    if-ne p2, v1, :cond_4

    .line 9
    new-instance p2, Landroid/os/Message;

    invoke-direct {p2}, Landroid/os/Message;-><init>()V

    const/16 v0, 0x65

    .line 10
    iput v0, p2, Landroid/os/Message;->what:I

    .line 11
    iget v0, p0, Les/zm$a;->c:I

    iput v0, p2, Landroid/os/Message;->arg1:I

    .line 12
    iget v0, p0, Les/zm$a;->d:I

    iput v0, p2, Landroid/os/Message;->arg2:I

    .line 13
    iget-object v0, p0, Les/zm$a;->e:Landroid/os/Handler;

    invoke-virtual {v0, p2}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto :goto_0

    :cond_4
    if-ne p2, v0, :cond_6

    .line 14
    iget-object p2, p0, Les/zm$a;->h:Les/zm;

    invoke-virtual {p2}, Les/pm;->d()Ljava/lang/String;

    move-result-object p2

    const-string v0, "#home_page#"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_5

    .line 15
    iget-object p2, p0, Les/zm$a;->f:Lcom/estrongs/android/pop/l;

    invoke-virtual {p2, v0}, Lcom/estrongs/android/pop/l;->O(Ljava/lang/String;)V

    goto :goto_0

    .line 16
    :cond_5
    iget-object p2, p0, Les/zm$a;->h:Les/zm;

    invoke-virtual {p2}, Les/pm;->d()Ljava/lang/String;

    move-result-object p2

    const-string v0, "#home#"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_7

    .line 17
    iget-object p2, p0, Les/zm$a;->f:Lcom/estrongs/android/pop/l;

    invoke-virtual {p2, v0}, Lcom/estrongs/android/pop/l;->O(Ljava/lang/String;)V

    goto :goto_0

    :cond_6
    const/4 v0, 0x3

    if-ne p2, v0, :cond_7

    .line 18
    iget-object p2, p0, Les/zm$a;->g:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v0, p0, Les/zm$a;->h:Les/zm;

    invoke-virtual {v0}, Les/zm;->j()Landroid/content/Intent;

    move-result-object v0

    iget-object v1, p0, Les/zm$a;->h:Les/zm;

    invoke-virtual {v1}, Les/pm;->e()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Les/zm$a;->g:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v3, p0, Les/zm$a;->h:Les/zm;

    .line 19
    invoke-virtual {v3}, Les/zm;->i()I

    move-result v3

    .line 20
    invoke-static {v2, v3}, Landroid/content/Intent$ShortcutIconResource;->fromContext(Landroid/content/Context;I)Landroid/content/Intent$ShortcutIconResource;

    move-result-object v2

    .line 21
    invoke-static {p2, v0, v1, v2}, Lcom/estrongs/android/pop/app/shortcut/b;->a(Landroid/content/Context;Landroid/content/Intent;Ljava/lang/String;Landroid/content/Intent$ShortcutIconResource;)V

    .line 22
    :cond_7
    :goto_0
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    return-void
.end method
